package budget.control

abstract class Transaction {

	Date transactionDate
	Double amount
	
	static belongsTo = [account : Account]
	
    static constraints = {
		transactionDate blank: false, max: new Date(), nullable: false
		amount blank: false, nullable: false
		account blank: false, nullable: false 
    }
}
